package face.pay.common.enterprise.service;

import face.pay.entity.TerminalInfo;
import face.pay.entity.UserInfo;
import face.pay.util.ResultMessage;
import face.pay.util.page.PageData;
import face.pay.util.page.PageParam;
import org.springframework.ui.Model;

import java.util.List;

/**
 * @Auther: zkj
 * @Date: 2019/7/16 17:38
 * @Description:
 */
public interface IterminalBaseService {

    public ResultMessage edit(TerminalInfo terminalInfo, UserInfo loginUser);

    public PageData queryPage(TerminalInfo terminalInfo, PageParam pageParam, UserInfo loginUser);

    public ResultMessage getNoBing(Model model,TerminalInfo terminalInfo, UserInfo loginUser);

    /**
     * 设备绑定门店
     * @param terminalInfo
     * @param loginUser
     * @return
     */
    ResultMessage storeBing(TerminalInfo terminalInfo, UserInfo loginUser);

    ResultMessage unLock(TerminalInfo terminalInfo, UserInfo loginUser);
}
